package com.mi.singleton;

import java.io.FileNotFoundException;
import java.io.IOException;

public class B {

	public void printConfig() throws FileNotFoundException, IOException{
		Config config = Config.getUniqueInstance();
		String name = config.getProperty("name");
		String age = config.getProperty("age");
		System.out.println("name=" + name + ",age=" + age);
	}
}
